<template>
<div class="show">
    <!-- <van-dialog v-model="show" title="登录成功" show-cancel-button> -->
        <button @click="cle">123</button>
    <!-- </van-dialog> -->
    
</div>    
</template>
<script>
    export default {
    data() {
        return {
        show:true
        };
    },
    methods:{
         showPopup(){
        this.show=!this.show
            Toast.loading({
  message: '加载中...',
  forbidClick: true,
});
    },
    cle(){
        // this.$toast.loading({
        // message: '加载中...',
        // forbidClick: true,
        // });
        this.$toast.success('登录成功');
    }

    }
   
}
</script>
<style lang="scss">
    .show{
        height: 200px;
        width: 200px;
    }
</style>
